import getlink from "../../apis/getapi"
export let guangchang={
    state:{
        text1:"",
        text21:"",
        text22:"",
        text3:"",
    },
    mutations:{
        guangchang(state,payload){
            state.text1=payload.data1;
            state.text21=payload.data2[0];
            state.text22=payload.data2[1];
            state.text3=payload.data3;
        },
    },
    actions:{
        guangchangH(context,payload){
            getlink(payload.url).then((ok)=>{
                // console.log(ok.data.data2);
                context.commit("guangchang",ok.data)
            })
        }
    },
    getters:{

    }
}